﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:m="clr-namespace:Microsoft.Maps.MapControl;assembly=Microsoft.Maps.MapControl"
    mc:Ignorable="d" xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input" x:Class="Twitter_Map_Web_Part.MainPage"
    >
    <Grid x:Name="LayoutRoot" Background="White" Width="700" Height="490">
    	<Grid.RowDefinitions>
    		<RowDefinition Height="0.134*"/>
    		<RowDefinition Height="0.866*"/>
    	</Grid.RowDefinitions>
		
		<Canvas HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Grid.Row="0" Background="#FFFFF69C" Height="65" Width="700" >
            <Image Height="50" Width="50" Canvas.Left="8" Canvas.Top="8" x:Name="TweetImage" />
            <dataInput:Label x:Name="TweetTitle" Canvas.Left="62" Canvas.Top="8" Width="630" FontWeight="Bold" FontSize="12" />
            <dataInput:Label x:Name="TweetText" Canvas.Left="62" Canvas.Top="26" Width="630" Height="31" VerticalAlignment="Top"/>
		</Canvas>

        <m:Map ZoomLevel="4" UseLayoutRounding="True" Center="-30.707837,142.532959" x:Name="TweetMap" Grid.Row="1" NavigationVisibility="Collapsed" />
        
    </Grid>
</UserControl>